package com.purchase.ml.bean.req.sys;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Created by kyyang on 2021/1/20 23:56
 */
@Data
public class SysRolePermissionDto {

    @NotNull(message = "Penomboran watak tidak boleh kosong")
    private Integer roleId;

    @NotNull(message = "Kebenaran tidak boleh kosong")
    private List<Integer> permissionIds;

}
